package com.zhj.config;

/**
 *
 */
public class ThreadDataSource {

    private static final ThreadLocal<String> datasourceKey = new ThreadLocal<>();

    public static void set(String key) {
        datasourceKey.set(key);
    }

    public static String get() {
        return datasourceKey.get();
    }

}
